package com.yuandian.business.monitor.mapper;

import com.yuandian.api.business_monitor.po.QueryConditionParams;
import com.yuandian.api.business_monitor.vo.BusinessMonitorVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 说明：业务对比分析Mapper
 *
 * @Author LinShiHe
 * @Date 2021-06-02
 */
@Mapper
public interface BusinessContrastiveAnalysisMapper {

    /**
     * 业务对比分析-性能指标概况
     * @param params 请求参数
     * @return	结果集
     */
	BusinessMonitorVo overViewGrid(@Param("params") QueryConditionParams params,
								   @Param("maplist") List<Map<String,String>> maplist);

    /**
     * 业务对比分析-图表分析
     * @param params 请求参数
     * @return	结果集
     */
    List<BusinessMonitorVo> overViewAnalysis(@Param("params") QueryConditionParams params,
											 @Param("maplist") List<Map<String,String>> maplist);

}
